package com.luocj.brvah_srl.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * Created by Administrator on 2018/1/20/020.
 */

public class MultiModel implements MultiItemEntity {
    public static final int TEXT = 1;
    public static final int TEXT_PIC = 2;

    private int type;
    private int spanSize;

    public MultiModel(int type, int spanSize) {
        this.type = type;
        this.spanSize = spanSize;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getSpanSize() {
        return spanSize;
    }

    public void setSpanSize(int spanSize) {
        this.spanSize = spanSize;
    }

    @Override
    public int getItemType() {
        return type;
    }
}
